package app.thread;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="hd_sensing_data")
public class HdSensingData implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String id;
	private Integer initData;
	private String changeType;
	private Integer finalData;
	private Date collectTime;
	private Date createTime;
	private int isUse;
	
	@Id
	@Column(name="ID", length=40, nullable=false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="INIT_DATA", length=10, nullable=true)
	public Integer getInitData() {
		return initData;
	}
	public void setInitData(Integer initData) {
		this.initData = initData;
	}
	@Column(name="CHANGE_TYPE", length=10, nullable=true)
	public String getChangeType() {
		return changeType;
	}
	public void setChangeType(String changeType) {
		this.changeType = changeType;
	}
	@Column(name="FINAL_DATA", length=10, nullable=true)
	public Integer getFinalData() {
		return finalData;
	}
	public void setFinalData(Integer finalData) {
		this.finalData = finalData;
	}
	@Column(name="COLLECT_TIME", length=400, nullable=true)
	public Date getCollectTime() {
		return collectTime;
	}
	public void setCollectTime(Date collectTime) {
		this.collectTime = collectTime;
	}
	
	@Column(name="CREATE_TIME", length=400, nullable=true)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name="IS_USE", length=1, nullable=true)
	public int getIsUse() {
		return isUse;
	}

	public void setIsUse(int isUse) {
		this.isUse = isUse;
	}
}